<template>
<div class="Search-Foot-Style">
  <el-check-tag @change="onChange" :checked="checked">点我切换</el-check-tag>
</div>
</template>

<script>
export default {
  name: 'MoreSearchFoot',
  data(){
    return{
      checked: false,
    }
  },
  methods:{
    onChange(checked){
      this.checked = checked;
      if(this.checked===true)console.log(1)
    }
  }
}
</script>

<style scoped>
.Search-Foot-Style{
  position: relative;
  width: 70%;
  left: 15%;
  padding-bottom: 30px;
}
</style>
